#include "ItemList.h"

ItemList::ItemList(int posX, int posY, Widget *parent)
		:Widget(posX, posY, NULL, parent){

}

void ItemList::handleEvent(Event event) {

}

void ItemList::resolve() {

}

void ItemList::showOn(SDL_Surface* surface) {

}

void ItemList::fillButtonList(){

}

std::string ItemList::getSelected(){
	return this->keySelected;
}

ItemList::~ItemList(){
	while(!listItems.empty()){
		delete listItems.back();
		listItems.pop_back();
	}

	while(!buttonList.empty()){
		delete buttonList.back();
		buttonList.pop_back();
	}

}
